package com.shanwen.shopping.entity;

import java.io.Serializable;

/**
 * 分页信息
 */
public class Page implements Serializable {
    private static final long serialVersionUID = -6154031725664636221L;


    /**
     * page : 1
     * pageNum : 15
     * totalNum : 2
     * totalPage : 1
     */

    private int page;
    private int pageNum;
    private int totalNum;
    private int totalPage;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }
}
